dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22f1d1c
)
Revert back for now, this is not quite correct
author
Aaron Schulz
<aaron@users.mediawiki.org>
Thu, 10 Jan 2008 23:28:08 +0000
(23:28 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Thu, 10 Jan 2008 23:28:08 +0000
(23:28 +0000)
includes/SkinTemplate.php
patch
|
blob
|
history
diff --git
a/includes/SkinTemplate.php
b/includes/SkinTemplate.php
index
2e52142
..
6c6b1ab
100644
(file)
--- a/
includes/SkinTemplate.php
+++ b/
includes/SkinTemplate.php
@@
-765,7
+765,7
@@
class SkinTemplate extends Skin {
}
if ( $this->mTitle->getNamespace() !== NS_MEDIAWIKI && $wgUser->isAllowed( 'protect' ) ) {
- if( !is_array( $this->mTitle->get
Restrictions('create'
) ) ) {
+ if( !is_array( $this->mTitle->get
TitleProtection(
) ) ) {
$content_actions['protect'] = array(
'class' => ($action == 'protect') ? 'selected' : false,
'text' => wfMsg('protect'),